package com.tf_cut.backend.seller.service;

import com.tf_cut.backend.annotation.In;
import com.tf_cut.backend.common.service.CommonService;
import com.tf_cut.backend.person.vo.PersonAndAccountVo;
import com.tf_cut.backend.seller.pojo.SellerProject;
import com.tf_cut.backend.seller.vo.SellerProjectVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SellerProjectService extends CommonService<SellerProjectVo, SellerProject, String> {

   List<SellerProjectVo> findProject( String projectName, String startDate,
                                     String endDate, Integer havePersonInfo,String personInfoId);

   List<SellerProjectVo> findMobileProject( String projectName, String startDate,
                                      String endDate, Integer havePersonInfo,String personInfoId);

   List<SellerProjectVo> findProjectByVo(SellerProjectVo sellerProjectVo);

   List<PersonAndAccountVo> findProjectPersonInfoByProjectId(String projectCode);
   String qryLastSerial(@Param("orderId") String orderId);
   
   List<SellerProjectVo> findProjects(String personName,String sellerName,String projectName,String startDate, String endDate);

   SellerProjectVo findByProjectCodeOne(@Param("projectCode")String projectCode);
}
